toNegativeInt
Deprecated
Use the Int.toNegativeIntOrThrow function instead.
Replace with
import kotools.types.number.toNegativeIntOrThrow
Content copied to clipboard
this.toNegativeIntOrThrow()
Content copied to clipboard
Returns this value as a NegativeInt, or throws an NegativeInt.ConstructionError if this value is strictly positive.